package com.thenmorethings.service;

import java.io.Serializable;
import java.util.List;

import com.thenmorethings.entity.Essay;

public interface EssayService {

	
	public List<Essay> findAll();
	
	
	public void EssayAdd(Essay essay);
	
	
	public void EssayDelete(Serializable id);
	
	public Essay EssayFind(Serializable id);
	/*
	 * 文章的编辑
	 */
	public void EssayUpdate(Essay essay);
	
	/**
	 * 文章的分页
	 */
	public List<Essay> EssayPagination(Integer start,Integer endrow);
}
